package net.dgg.dggcloud.service.jrcrm.dao.customer;

import net.dgg.dggcloud.core.minidao.annotation.MiniDao;
import net.dgg.dggcloud.core.minidao.hibernate.MiniDaoSupportHiber;
import net.dgg.dggcloud.service.jrcrm.entity.customer.DepartmentCustomer;

import java.util.List;
import java.util.Map;

/**
 * 事业部客户数据库访问接口
 * @ClassName: DepartmentCustomerDao
 * @Author: 周潮
 * @Date: 2017年11月29 11:25:59
 * @Version V1.0
 */

@MiniDao
public interface DepartmentCustomerDao extends MiniDaoSupportHiber<DepartmentCustomer>{

    /***
     * 查询事业部客户
     * @param map
     * @return
     */
    List<Map> queryDepartmentCustomerList(Map map);

    /***
     * 查询事业部客户-count
     * @param map
     * @return
     */
    Integer queryDepartmentCustomerListCount(Map map);

}
